import 'package:base_plugin/base_plugin.dart';
import 'package:dio/dio.dart';

class HttpCategoryService {
  /// expense
  static Future<Response> expenseCategories() {
    return BaseConfig.httpBase.get('/api/categories/expenses', {});
  }

  /// cash out
  static Future<Response> cashOutCategories() {
    return BaseConfig.httpBase.get('/api/categories/cash_out', {});
  }

  /// cash in
  static Future<Response> cashInCategories() {
    return BaseConfig.httpBase.get('/api/categories/cash_in', {});
  }

  /// category
  static Future<Response> categories() {
    return BaseConfig.httpBase.get('/api/categories', {});
  }
}
